/*
 * @Author: WuFeng <763467339@qq.com>
 * @Date: 2022-03-22 12:12:49
 * @LastEditTime: 2022-07-27 15:34:01
 * @LastEditors: WuFeng <763467339@qq.com>
 * @Description: 上传相关
 * @FilePath: \vue3-element-plus-web\src\api\upload.js
 * @Copyright 版权声明
 */

import request from '@/utils/request'

export function mergeSimpleUpload() {
  return Promise.resolve()
}

/**
 * @description 文件上传
 * @param {*} params
 */
export function fileUpload(params) {
  const data = params
  return request({
    url: '/file/upload',
    method: 'post',
    data
  })
}
